home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 7
/
FM Towns Free Software Collection 7.iso
/
t_os
/
gpen32k
/
source.exe
/
LIB
/
OSRC
/
OVIEW.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-03-29
|
225b
|
16 lines
#include <EGB.H>
extern char work[];
void view( int x1, int y1, int x2, int y2 )
{
char pa[64];
WORD(pa ) = x1;
WORD(pa + 2) = y1;
WORD(pa + 4) = x2;
WORD(pa + 6) = y2;
EGB_viewport( work, pa );
}